//
//  ViewController.m
//  PaoPao
//
//  Created by Apple on 12/23/15.
//  Copyright © 2015 Apple. All rights reserved.
//

#import "ViewController.h"
#import "custom.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
   // CGFloat widths=[UIScreen mainScreen].bounds.size.width;
    // Do any additional setup after loading the view, typically from a nib.
    NSArray *array=@[@"12",@"23",@"34"];
    custom *c=[[custom alloc]initArray:array andPosition:CGPointMake(400, 40)];
    c.backgroundColor=[UIColor clearColor];
   
    [self.view addSubview:c];
    
    NSArray *array1=@[@"哪里跑",@"快来看这里",@"哈哈"];
    custom *c1=[[custom alloc]initArray:array1 andPosition:CGPointMake(50, 40)];
    c1.backgroundColor=[UIColor clearColor];
    
    [self.view addSubview:c1];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
